local more1__zhenjiang = fk.CreateSkill {
  name = "more1__zhenjiang",
  tags = { Skill.Compulsory, },
}

Fk:loadTranslationTable{
  ["more1__zhenjiang"] = "镇江",
  [":more1__zhenjiang"] = "锁定技，“问计”记录的牌不计入手牌上限，"..
  "你使用“问计”记录的牌指定目标时，若目标手牌小于你，其不可响应此牌，"..
  "若目标体力值小于你，你恢复一点体力。"..
  "乘势，你增加一点体力上限并令其本回合非锁定技失效。",
  ["$more1__zhenjiang1"] = "",
  ["$more1__zhenjiang2"] = "",
}


more1__zhenjiang:addEffect("maxcards", {
  exclude_from = function(self, player, card)
    return player:hasSkill(more1__zhenjiang.name) and table.contains(player:getTableMark("@$more1__wenji"), card.trueName)
  end,
})

more1__zhenjiang:addEffect(fk.TargetSpecified, {
  anim_type = "offensive",
  is_delay_effect = true,
  can_trigger = function(self, event, target, player, data)
    return target == player and table.contains(player:getTableMark("@$more1__wenji"), data.card.trueName) and player:hasSkill(more1__zhenjiang.name) and data.to ~= player
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local target = data.to
    if target:getHandcardNum() < player:getHandcardNum() then
      data.disresponsive = true
    end
    if target.hp < player.hp then
      room:recover { num = 1, skillName = more1__zhenjiang.name, who = player, recoverBy = player}
    end
    if target:getHandcardNum() < player:getHandcardNum() and target.hp < player.hp then
      room:changeMaxHp(player, 1)
      room:addPlayerMark(target, MarkEnum.UncompulsoryInvalidity .. "-turn")
    end
  end,
})








return more1__zhenjiang
